<template>
    <section class="yw_info_desc">
  
        	<el-form-item label="业务类型(可多选)" reuqired>
				 <el-checkbox-group v-model="ywInfoDescForm.businessType" >
				     <el-checkbox-button class="box_checkbox" v-for="(item,index) in yewuType" :label="item.id" :key="index">{{item.name}}</el-checkbox-button>
				</el-checkbox-group>
			</el-form-item>
			  
			<el-form-item label="信息类型(可多选)" reuqired>
				 <el-checkbox-group v-model="ywInfoDescForm.infoType">
				     <el-checkbox-button class="box_checkbox" v-for="(item,index) in infoType" :label="item.id" :key="index">{{item.name}}</el-checkbox-button>
				</el-checkbox-group>
			</el-form-item>
			  
			<el-form-item label="描述" placeholder="100字以内">
				<el-input type="textarea" v-model="ywInfoDescForm.describe" ></el-input>
			</el-form-item>
    </section>
</template>

<script>
    export default {
    	props:{
    		yewuType:Array,
    		infoType:Array,
    		timeSubmit :Boolean,
    	},
        data() {
          return {
          		ywInfoDescForm:{
          			businessType:[],
          			infoType:[],
          			describe:'',
          		}
          };
        },
        methods: {
        		
        },
        watch:{
        	timeSubmit(newVal){
        		this.$emit("outPutForm",this.ywInfoDescForm);
        	}
        }
  };
</script>

<style scoped="scoped">
    
</style>